package bean;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 34255
 * Date: 2024-09-16
 * Time: 14:58
 */
public class Student {
    private int accountNum;
    private String name;
    private String gender;
    private int age;
    private int classNum;

    public Student(int accountNum, String name, String gender, int age, int classNum) {
        this.accountNum = accountNum;
        this.name = name;
        this.gender = gender;
        this.age = age;
        this.classNum = classNum;
    }

    public Student(String name, String gender, int age, int classNum) {
        this.name = name;
        this.gender = gender;
        this.age = age;
        this.classNum = classNum;
    }



    public Student(int accountNum) {
        this.accountNum = accountNum;
    }

    public int getAccountNum() {
        return accountNum;
    }

    public void setAccountNum(int accountNum) {
        this.accountNum = accountNum;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getClassNum() {
        return classNum;
    }

    public void setClassNum(int classNum) {
        this.classNum = classNum;
    }
}
